package beans;

import java.util.Date;

/**
 * @author roze
 *
 */
public class Playlist {

	private String nom;
	private Date dateCreation;	
	
	
	
	/**
	 * @param nom
	 * @param dateCreation
	 */
	public Playlist(String nom, Date dateCreation) {
		super();
		this.nom = nom;
		this.dateCreation = dateCreation;
	}
	
	

	public Playlist() {
		super();
	}



	/**
	 * @return le nom de la playlist
	 */
	public String getNom() {
		return nom;
	}
	
	/**
	 * @param nom
	 */
	public void setNom(String nom) {
		this.nom = nom;
	}
	
	/**
	 * @return la date de creation de la playlist
	 */
	public Date getDateCreation() {
		return dateCreation;
	}
	
	/**
	 * @param dateCreation
	 */
	public void setDateCreation(Date dateCreation) {
		this.dateCreation = dateCreation;
	}
	
	
	@Override
	public String toString() {
		return "Playlist [nom=" + nom + ", dateCreation=" + dateCreation + "]";
	}	
	

}
